package com.lyncs.ods.modules.txn.mapper;

import com.lyncs.ods.modules.txn.model.TxnEditLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * ods编辑历史记录 Mapper 接口
 * </p>
 *
 * @author alex
 * @since 2022-04-09
 */
@Mapper
public interface TxnEditLogMapper extends BaseMapper<TxnEditLog> {

    List<TxnEditLog> listEditLog(Integer type, Long refId, Integer offset, Integer pageSize);

    Integer countEditLog(Integer type, Long refId);
}
